#import <Cocoa/Cocoa.h>
#import "GameController.h"
#import "PluginController.h"

@interface PrefsController : NSWindowController
{
    IBOutlet id configureSheet;
    IBOutlet id mainWindow;

    IBOutlet id modeHuman;
    IBOutlet id modeComputer;
    IBOutlet id dificulty;
    IBOutlet id soundEnabled;
    IBOutlet id showMoves;
    IBOutlet id gameController;
    IBOutlet id boardSize;
    IBOutlet id appearance;
    
    BOOL sheetIsActive;
    PluginController *plugin;
}
- (void)awakeFromNib;
- (IBAction)configureGame:(id)sender;
- (IBAction)doneConfiguring:(id)sender;
- (IBAction)visitWebsite:(id)sender;
- (void)updatePlugin;
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem;

- (BOOL)modeComputer;
- (int)dificulty;
- (int)boardSize;
- (BOOL)soundEnabled;
- (BOOL)showMoves;
- (BOOL)sheetIsActive;

@end
